improve error message when SETCREDS overwrites git-annex config
authorJoey Hess <joeyh@joeyh.name>
Tue, 16 Sep 2025 17:22:14 +0000 (13:22 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 16 Sep 2025 17:22:14 +0000 (13:22 -0400)
commitcbb4a2bf86d0bd0797e497534d028af3eb9865f8
treeb8bb4cbecd9aae4fe54ee4f6e1b50cfaf3d1b0d2
parent378541cc7827c7a06763c2a18b56f01915534181
improve error message when SETCREDS overwrites git-annex config

That is not allowed, so it's not a bug in git-annex when it happens and
instead tell the special remote developer how it's messed up.

Note that currently only Remote.External can overwrite the parsed remote
config with a PassedThrough value. PassedThrough values are otherwise
only generated for configs that are not parsed by the remote config
parser.

Sponsored-by: Joshua Antonishen
Annex/SpecialRemote/Config.hs
doc/todo/encrypt_only_the_credentials/comment_8_7ec2d0de7c0b90f05475b86148982197._comment [new file with mode: 0644]